﻿@model Downloader.Web.Controllers.ViewModels.LogOnModel
@{
    ViewBag.Title = "用户登录";
}
<link href="../../Content/admin/admin.css" rel="stylesheet" />
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@**@

@using (Html.BeginForm())
{
    <div class="bg">
        <div id="wrapper">
            <div class="logo">
                <img alt="系统用户登录" title="系统用户登录" src="http://localhost:801/zb_system/image/admin/none.gif" />
            </div>

            <div class="login">

                <table>
                    <tr>
                        <td style="width: 90px;">
                            <label>用户名:</label></td>
                        <td style="width: 90px;">@Html.TextBoxFor(m => m.UserName, new { @id = "edtUserName", tabindex = "1", size = "20" })</td>
                    </tr>
                    <tr>
                        <td style="width: 90px;">
                            <label>密码:</label></td>
                        <td style="width: 90px;">@Html.PasswordFor(m => m.Password, new { @id = "edtPassWord", tabindex = "2", size = "20" })</td>
                    </tr>
                    <tr>
                        <td style="width: 90px;"></td>
                        <td>@Html.CheckBoxFor(m => m.RememberMe, new { @id = "chkRemember", tabindex = "3" })
                            <label>保存我的登录信息</label></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td >
                            <input id="btnPost" class="button" type="submit" tabindex="4" value="登录" name="btnPost">
                            <div style="height: 32px;padding-top:15px;">
                                @Html.ActionLink("注册新用户", "Register",null,new{@style="height: 32px;padding-left: 25px;font-weight: bold;font-size: 12px;"})
                            </div>
                         
                        </td>
                    </tr>
                    <tr><td></td><td style="color: #ff0000;">@Html.ValidationSummary(true, "登录失败.")</td></tr>
                </table>

                @*<dl>
                    <dd class="checkbox">
                        @Html.CheckBoxFor(m => m.RememberMe, new { @id = "chkRemember", tabindex = "3" })
                        <label for="chkRemember">保存我的登录信息</label>
                        @Html.ActionLink("注册", "Register", new { @style = "display:none" })
                    </dd>
                    <dd class="submit">

                        <input id="btnRegesit" class="button" type="submit" tabindex="4" value="注册" name="btnPost">
                    </dd>
                </dl>*@


            </div>
        </div>
    </div>
}
